﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EFSQLiteOneToManay
{
   public class CoordinateMapping : BaseDomainMapping<Coordinate>
    {
        public override void Init()
        {
            ToTable("Coordinate");
            HasKey(l => l.ID);
            Property(l => l.CID).HasMaxLength(200).IsRequired();
            //设置Age长度为200 并且可为空
        }
    }
}
